package Test.Test02;

/**
 * @Author kirito
 * @Date 2023/10/24 17:19
 * @PackageName:Test.Test01
 * @ClassName: Student
 * @Description:
 * @Version 1.0
 */
public class Student {
    private Integer age;
    private String name;

    public Student(String a, Integer i) {
        this.age = i;
        this.name = a;
    }
    public Student() {
    }
    public Student(String s) {
        this.name = s;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
